#version 330 core
layout (location = 0) in vec3 aPos; //位置坐标

uniform mat4 objectModel;
uniform mat4 view;
uniform mat4 projection;
void main()
{
	gl_Position = projection * view * objectModel * vec4(aPos, 1.0); //变换
}